import request from '@/utils/request'

// 公寓住户关联列表
export function apiRoomApartmentUserLists(params: any) {
    return request.get({ url: '/room.room_apartment_user/lists', params })
}
// 公寓住户关联列表
export function apiRoomApartmentPrintListsUserStat(params: any) {
    return request.get({ url: '/room.room_apartment_user/print_lists_user_stat', params })
}
// 公寓住户关联列表
export function apiRoomApartmentPrintListsUserDevice(params: any) {
    return request.get({ url: '/room.room_apartment_user/print_lists_user_device', params })
}

export function apiRoomApartmentExportListsUserStat(params: any) {
    return request.get({url: '/room.room_apartment_user/export_lists_user_stat', params})
}

export function apiRoomApartmentExportListsUserDevice(params: any) {
    return request.get({url: '/room.room_apartment_user/export_lists_user_device', params})
}

// 添加公寓住户关联
export function apiRoomApartmentUserAdd(params: any) {
    return request.post({ url: '/room.room_apartment_user/add', params })
}

// 编辑公寓住户关联
export function apiRoomApartmentUserEdit(params: any) {
    return request.post({ url: '/room.room_apartment_user/edit', params })
}

// 删除公寓住户关联
export function apiRoomApartmentUserDelete(params: any) {
    return request.post({ url: '/room.room_apartment_user/delete', params })
}

// 公寓住户关联详情
export function apiRoomApartmentUserDetail(params: any) {
    return request.get({ url: '/room.room_apartment_user/detail', params })
}